package com.itheima.aspect.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

//自定义注解
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface OperLog {
    @AliasFor(
            annotation = Component.class
    )
    String value() default "";
    String username();
    String age() default "18";
}
